package com.swg.seckill.mapper;

import com.swg.seckill.pojo.Goods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.swg.seckill.utils.vo.GoodsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author swg
 * @since 2021-11-23
 */

public interface GoodsMapper extends BaseMapper<Goods> {

    List<GoodsVo> getAllGoods();

    GoodsVo getGoods(@Param("goodsId") Long id);

}
